package com.atguigu.gmall.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName AuthUrlProperties
 * @Description TODO
 * @Author king
 * @Date 2022/11/15 18:30
 * @Version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "app.auth")
public class AuthUrlProperties {

    List<String> noAuthUrl;
    List<String> denyUrl;
    List<String> authUrl; //必须登录才能访问
    String loginPage; //登录页地址

}
